package com.dayu.springbootcache.mapper;

import com.dayu.springbootcache.entity.Department;
import com.dayu.springbootcache.entity.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentMapper {
    @Select("select * from department where id = #{id}")
    public Department getDeptById(Integer id);
}
